package Player;

import GameBoard.GameBoard;
import Player.IAStrategy.IAStrategy;

public class IAPlayer extends Player
{
	IAStrategy strat;
	
	public IAPlayer(String name, IAStrategy strat)
	{
		this.name = name;
		this.strat = strat;
	}
	
	@Override
	public void play(GameBoard board) 
	{
		strat.execute(this, board);
	}
}
